
const state = {
  tab: false
}

const actions = {
  clickTab ({ commit }, tab) {
    commit('changeTab', tab)
  }
}
const mutations = {
  changeTab (state, tab) {
    state.tab = tab
  }
}

const getters = {
  getTab: function () {
    return state.tab
  }
}
export default {
  state,
  actions,
  mutations,
  getters
}
